﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gx.Model.Entity
{
    public class EntityBase<TType>
    {
        [Key]
        [Column("Id")]
        public virtual TType Id { get; set; }
    }

    public class EntityBase : EntityBase<int>
    {
    }
}
